#pragma once
#ifndef INFOWND_H
#define INFOWND_H

#include "headers.h"

class InfoWnd : public QMainWindow
{
    friend class Parser;

public:
    InfoWnd();

private:
    /** fields **/
    Grammar grammar;
    QTabWidget* tabWidget;
    QLineEdit* firstSymbolTXT;
    QListWidget* nonterminalsList;
    QListWidget* terminalsList;
    QListWidget* rulesList;
    QTableWidget* actionTableWidget;
    QTableWidget* gotoTableWidget;
    QListWidget* varsList;
    QListWidget* lexemesList;
    QListWidget* symbolTable;
    QTreeWidget* derivationTree;
    QListWidget* errorsList;
};

#endif // INFOWND_H
